<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>管理员界面</title>
    <link rel="stylesheet" href="css/bootstrap.min.css" />
    <link rel="stylesheet" href="css/bootstrap-theme.min.css" />
<!--    <script src="js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>-->

</head>
<body>
<div class="container">
    <div class="row clearfix" style="margin-top: 100px">
        <div class="col-md-12 column">
            <div class="row clearfix">
                <div class="col-md-12 column">
                    <h2 style="float: contour">管理员界面</h2>

                    <table class="table" style="margin-top: 20px">
                        <thead>
                        <tr>
                            <th>
                                姓名
                            </th>
                            <th>
                                电话
                            </th>
                            <th>
                                建议
                            </th>
                        </tr>
                        </thead>
                        <tbody th:if="${about} != null">
                        <tr th:each="i : ${about}">
                            <td th:text="${i.getName()}">
                                TB - Monthly
                            </td>
                            <td th:text="${i.getPhone()}">
                                01/04/2012
                            </td>
                            <td th:text="${i.getMessage()}">
                                Default
                            </td>
                            <td >
                                <a href="" th:href="'admin?id='+${i.getId()}"> <button type="button" class="btn btn-danger">删除</button> </a>
                            </td>
                        </tr>



                        </tbody>
                    </table>
                </div>

            </div>
        </div>
    </div>
</div>
</body>
</html>